package com.gaocf.example.converter;

import com.gaocf.example.dto.User;
import com.gaocf.example.dto.UserInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserConverter {
    UserConverter INFO = Mappers.getMapper(UserConverter.class);

    UserInfo toUserInfo(User user);
}
